package com.dic.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dic.common.utils.PageUtils;
import com.dic.mall.product.entity.CategoryEntity;
import com.dic.mall.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author liliang
 * @email LeeLiang2016@163.com
 * @date 2020-07-06 17:20:25
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);

    List allN();

    Long[] getCategoryPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1Categorys();

    Map<String,  List<Catelog2Vo>> getCatalogJson();
}

